home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / Apps / DevTools / ClassBuilder / Source / Glyph.h < prev    next >
Encoding:
Text File  |  1995-06-12  |  928 b   |  40 lines

  1.   #import <objc/Object.h>
  2.   #import <appkit/graphics.h>
  3.   struct gFlags
  4.   { unsigned isRoot: 1 ;
  5.   unsigned isTarget: 1 ;
  6.   unsigned noDraw: 1 ; } ;
  7. @interface Glyph: Object
  8. { @public
  9.   NXRect frame ;
  10.   Glyph *is, *then, *ancestor ;
  11.   // these belong as a bitstructure
  12.   struct gFlags flags ;
  13.   char iam[20] ;
  14. }
  15. - ancestor ;
  16. - ancestor: aGlyph ;
  17. -convertFromAncestor: (NXPoint *) aPnt ;
  18. -convertFromRootGlyph: (NXPoint *) aPnt ;
  19. -convertToAncestor: (NXPoint *) aPnt ;
  20. -convertToRootGlyph: (NXPoint *) aPnt ;
  21. - display: (const NXRect *) aRect ;
  22. - drawSelf: (NXRect *) aRect ;
  23. - enlist: (Glyph *) aGlyt ;
  24. - hitTest: (NXPoint *) aPnt ;
  25. - (char *) iam ;
  26. - iam: (char *) str ;
  27. - init ;
  28. - is ;
  29. - is: aGlyph ;
  30. - (BOOL) isTerminator ;
  31. - moveTo:(float) x :(float)y ;
  32. - plant: (Glyph *) aGlyt ;
  33. - (BOOL) precedes: (Glyph *) aGlyph ;
  34. - sizeTo: (float)width : (float)height ;
  35. - then ;
  36. - then: aGlyph ;
  37. - test: (int) anInt ;
  38. - unlink ;
  39. @end
  40.